﻿using MediatR;
using Traceability.ErrorCode;

namespace Traceability.APP.Application.Command.Breeding
{
    /// <summary>
    /// 养殖信息增加
    /// </summary>
    public class BreedingAddCommand:IRequest<APIResult<int>>
    {
        

        /// <summary>
        /// 主键ID
        /// </summary>
        public int ID { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public string Breed { get; set; }

        /// <summary>
        /// 来源
        /// </summary>
        public string Source { get; set; }

        /// <summary>
        /// 饲养天数
        /// </summary>
        public string Rear { get; set; }

        /// <summary>
        /// 饲养品牌
        /// </summary>
        public string BreedType { get; set; }

        /// <summary>
        /// 饲养负责人
        /// </summary>
        public string RearName { get; set; }

        /// <summary>
        /// 出栏日期
        /// </summary>
        public DateTime EndDatetime { get; set; }

        /// <summary>
        /// 批次
        /// </summary>
        public string Batch { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 删除标识
        /// </summary>
        public bool IsDeleted { get; set; } = false;

    }
}
